package com.kmxd.ams.core.common.constant;

/**
 * 错误码s
 *
 * @author nickbi
 */
public class ErrorCode {
  /** 未知异常 */
  public static final String EXCEPTION = "AMS000001";
  /** 主键重复 */
  public static final String DUPLICATE_KEY = "AMS00002";
  /** 未知渠道 */
  public static final String UN_KNOW_CHANNEL = "AMS100001";
  /** 未登录 */
  public static final String NOT_LOGIN = "AMS100002";
  /** 登录超时 */
  public static final String LOGIN_TIMEOUT = "AMS100003";
  /** 用户不存在 */
  public static final String USER_NOT_FOUND = "AMS100004";
  /** 用户已经存在 */
  public static final String USER_ACCOUNT_EXISTENCE = "AMS1000012";
  /** 验证码不正确 */
  public static final String USER_VERCODE_ERROR = "AMS1000014";
  /** 账号或密码不正确 */
  public static final String USER_NOT_ACCOUNT_PWD = "AMS100005";
  /** 账号或密码不正确 对不起，您的账号已被停用 */
  public static final String USER_STOP_USING = "AMS100006";
  /** 强制退出，不能退出当前登录用户 */
  public static final String USER_FORCELOGOUT = "AMS100007";
  /** 超管账户不允许删除 */
  public static final String USER_DEL_SUPER_ADMIN = "AMS100008";

  /** 参数校验失败 */
  public static final String VALIDATE_ERROR = "AMS100009";
  /** 参数不能为空 */
  public static final String VALIDATE_NOT_NULL = "AMS100010";
  /** 格式不正确 */
  public static final String VALIDATE_ILLEGAL_FORMAT = "AMS100011";

  /** 最多能添加5个数据 */
  public static final String OVER_LIMIT_NUMBER_5 = "AMS100012";
  /** 未找到数据 */
  public static final String NOT_FOUND = "AMS100013";

  /** 多语言设置有误 */
  public static final String I18N_NOT_FOUND = "AMS100014";

  /** 用户已锁定 */
  public static final String SECURITY_LOCK_USER_LOCKED = "AMS100015";
  /** ip已锁定 */
  public static final String SECURITY_LOCK_IP_LOCKED = "AMS100016";
  /** 密码未更新天数，超过策略设置的更新时间 */
  public static final String SECURITY_PASSWORD_INVALID = "AMS100017";
  /** 不在允许的工作日登录 */
  public static final String SECURITY_LOGIN_NOT_WORKDAY = "AMS100018";
  /** 未在开发时间登录 */
  public static final String SECURITY_LOGIN_NOT_WORKDAY_TIME = "AMS100019";

  /** 数据已存在 */
  public static final String ARCHIVE_DATA_EXIST = "AMS100020";
  /** 数据不存在 */
  public static final String ARCHIVE_DATA_NOT_EXIST = "AMS100021";
  /** 无效数据 */
  public static final String ARCHIVE_DATA_INVALIDED = "AMS100022";

  /** 检测到条目的分组数据不一致，请剔除非同一分组档案条目之后再进行操作 */
  public static final String DATA_NOT_IN_SAME_GROUP = "AMS100023";
  /** 档案库存不足 */
  public static final String ARCHIVE_STOCK_NOT_ENOUGH = "AMS100024";
  /** 文件未转换 */
  public static final String E_FILE_NOT_CONVERT = "AMS100025";

  /** 查询条件存在注入风险 */
  public static final String ARCH_CONDITION_ERROR = "AMS100026";
  /** 电子文件未挂载 */
  public static final String E_FILE_NOT_MOUNT = "AMS100027";
  /** 字典未找到 */
  public static final String DICT_NOT_FOUND = "AMS100028";
  /** 数据未保存，不能进行挂载操作 */
  public static final String DATA_NOT_SAVE_CAN_NOT_MOUNT = "AMS100029";

  /** 版本未找到 */
  public static final String ARCHIVE_VERSION_NOT_FOUND = "AMS100030";

  /** 数据重复 */
  public static final String VALIDATE_DATA_REPEAT = "AMS100031";
  /** 未选择数据 */
  public static final String NOT_SELECTED_DATA = "AMS100032";
  /** 档案库复制异常 */
  public static final String ARCHIVES_COPY = "AMS100033";
  /** 提示 */
  public static final String TIP_INFO = "AMS000TIP";
  /** 数据校验失败 */
  public static final String QUICK_DATA_CHECK_ERROR = "AMS100034";

  /** 检索-关键词不能为空 */
  public static final String SEARCH_KEYWORDS_IS_NULL = "AMS100035";
  /** 检索-关键词过长 */
  public static final String SEARCH_KEYWORDS_TOO_LONG = "AMS100036";
  /** 检索-部门不能为空 */
  public static final String SEARCH_ORG_IS_NULL = "AMS100037";
  /** 检索-部门信息不正确 */
  public static final String SEARCH_ORG_INVALID = "AMS100038";
  /** 检索-条件不能为空 */
  public static final String SEARCH_CONDITION_IS_NULL = "AMS100039";

  /** 无利用权限 */
  public static final String SEARCH_NO_AUTH = "AMS100040";

  public static final String SEARCH_NO_ARCH = "AMS100041";
  /** 推送档案为空 */
  public static final String USE_PUSH_ARCH_IS_NULL = "AMS100042";

  /** 年报已存在 */
  public static final String ANNUAL_REPORT_EXISTS = "AMS100043";
  /** 年报模版不存在 */
  public static final String ANNUAL_REPORT_TEMP_NOT_EXISTS = "AMS100044";
  /** 汇总条目不能为空 */
  public static final String ANNUAL_REPORT_DATA_CAN_NOT_NULL = "AMS100045";
  /** 上报数据为空 */
  public static final String ANNUAL_REPORT_NOT_FIND = "AMS100046";

  /** 年报数据不能进行上报操作（仅录入中，已退回年报可以进行上报） */
  public static final String ANNUAL_REPORT_CAN_NOT_REPORT = "AMS100047";
  /** 对比模版不一致 */
  public static final String ANNUAL_REPORT_COMPARE_TEMP_NOT_EQUALS = "AMS100048";
  /** 对比单位不一致 */
  public static final String ANNUAL_REPORT_COMPARE_COMPANY_NOT_EQUALS = "AMS100049";

  public static final String ANNUAL_REPORT_CAN_NOT_CALL_BACK = "AMS100050";
  public static final String ANNUAL_REPORT_CAN_NOT_RECEIVE = "AMS100051";

  /** 推送信息为空 */
  public static final String USE_PUSH_IS_NULL = "AMS100052";
  /** 利用档案未找到 */
  public static final String USE_ARCH_DATA_NOT_FOUND = "AMS100053";
  /** 全宗数据未找到 */
  public static final String STAT_FONDS_DATA_NOT_FOUND = "AMS100054";

  /** 状态不能为空 */
  public static final String ARRANGE_STATUS_CAN_NOT_NULL = "AMS100056";
  /** 电子文件未找到 */
  public static final String E_FILE_NOT_FOUND = "AMS100057";

  // open api 相关状态
  /** 公司不能为空 */
  public static final String OPEN_API_COM_NOT_NULL = "AMS100058";
  /** appId已存在 */
  public static final String OPEN_API_APP_ID_EXIST = "AMS100059";
  /** appToken已存在 */
  public static final String OPEN_API_APP_TOKEN_EXIST = "AMS100060";
  /** appName已存在 */
  public static final String OPEN_API_APP_NAME_EXIST = "AMS100061";
  /** 未找到该token */
  public static final String OPEN_API_TOKEN_NOT_FOUND = "AMS100062";
  /** api不可用，或未启用 */
  public static final String OPEN_API_CAN_NOT_USE = "AMS100063";
  /** 文件接收失败 */
  public static final String OPEN_API_RECEIVE_FILE_FAIL = "AMS100064";
  /** 接口未找到 */
  public static final String OPEN_API_NOT_FOUND = "AMS100065";
  /** 没有接口权限 */
  public static final String OPEN_API_NO_AUTH = "AMS100066";
  /** 入库规则未设置 */
  public static final String OPEN_API_ARCH_TYPE_NOT_SET = "AMS100067";
  /** 无参考门类 */
  public static final String OPEN_API_NO_COMPARE_ARCH_TYPE = "AMS100068";

  public static final String OPEN_API_FIELD_IS_EMPTY = "AMS100069";

  /** aip项目未找到 */
  public static final String AIP_PROJECT_NOT_FOUND = "AMS100070";
  /** aip数据未找到 */
  public static final String AIP_DATA_NOT_FOUND = "AMS100071";
  /** 没有找到授权信息 */
  public static final String NO_LICENSE = "AMS900099";

  /** 文件解析上传失败 */
  public static final String OPEN_API_UPLOAD_FILE_FAIL = "AMS100072";
  /** ocr服务拒绝连接 */
  public static final String OCR_CONNECTION_REFUSED = "AMS100073";

  /** 档案已组卷 */
  public static final String ARCH_IN_VOL = "AMS100074";
  /** 档案已装盒 */
  public static final String ARCH_IN_BOX = "AMS100075";
  /** 快速检测数据不存在 */
  public static final String QUICK_CHECK_DATA_NOT_EXIST = "AMS100076";

  /** 门类不符 */
  public static final String REPOSIT_ARCH_TYPE_NOT_MATCH = "AMS100077";
  /** 不允许上架文书类档案 */
  public static final String REPOSIT_CAN_NOT_PUT_DOC = "AMS100078";
  /** 只允许上架文书 */
  public static final String REPOSIT_ONLY_PUT_DOC = "AMS100078";
  /** 重复上架 */
  public static final String REPOSIT_REPEAT_PUT = "AMS100079";

  /** 密集架 阁宽度不足 */
  public static final String REPOSIT_BLOCK_INSUFFICIENT_CABINET_WIDTH = "AMS100080";
  /** 全宗号不一致 */
  public static final String FONDS_CODE_NOT_EQUAL = "AMS100081";
}
